package com.hxzy.projectssmplus.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hxzy.projectssmplus.entity.SysMenu;
import com.hxzy.projectssmplus.vo.TreeVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Set;

@Mapper
@Repository
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    Set<String> ownerMenuByUserId(Integer adminUserId);

    List<SysMenu> getTreeByRoleId(Long roleId);
}